package com.love.poetry.domain.poetry;

import com.love.poetry.domain.Category;
import com.youboy.core.domain.AbstractDomain;

/**
 * 诗词表：verse
 * 
 * @author haichun
 * 
 */
public class Verse extends AbstractDomain {

	private static final long serialVersionUID = 1L;

	private String title;// 诗词标题 title 例如：静夜思
	private String contentBody;// 原文 content_body 例如：床前明月光，….
	private String note;// 注释 note 例如：
	private String translation;// 译文 translation 例如：
	private String appreciate;// 鉴赏 appreciate 例如：该首诗句非常...
	private String verseFormat;// 诗体格律 verse_format 例如：五言律诗
	private String tag;// 标签 tag 例如：爱国思想, 思念情怀
	private String writeTime;// 创作时间 write_time 例如：770年（庚戌年）
	private String writeBackground;// 创作背景 write_background 例如：
	private String pageView;// 浏览量 page_view 例如：100
	private String rateScore;// 评分 rate_score 例如： 5
	private String images;// 照片 images 多张可以使用；符号分隔开	
	private int sort;//排序
	private long createTime;// 创建时间 create_time 创建时间，long类型
	private String dataState;// 数据状态 data_state 例如：1或者0
	
	private Poet poet;// 作者 Poet 外键 poet_id
	private Category category;// 诗词分类 外键 category_id

	public String getTitle() {
		return title;
	}

	public Verse setTitle(String title) {
		this.title = title;
		return this;
	}

	public String getContentBody() {
		return contentBody;
	}

	public Verse setContentBody(String contentBody) {
		this.contentBody = contentBody;
		return this;
	}

	public String getNote() {
		return note;
	}

	public Verse setNote(String note) {
		this.note = note;
		return this;
	}

	public String getTranslation() {
		return translation;
	}

	public Verse setTranslation(String translation) {
		this.translation = translation;
		return this;
	}

	public String getAppreciate() {
		return appreciate;
	}

	public Verse setAppreciate(String appreciate) {
		this.appreciate = appreciate;
		return this;
	}

	public String getVerseFormat() {
		return verseFormat;
	}

	public Verse setVerseFormat(String verseFormat) {
		this.verseFormat = verseFormat;
		return this;
	}

	public String getTag() {
		return tag;
	}

	public Verse setTag(String tag) {
		this.tag = tag;
		return this;
	}

	public String getWriteTime() {
		return writeTime;
	}

	public Verse setWriteTime(String writeTime) {
		this.writeTime = writeTime;
		return this;
	}

	public String getWriteBackground() {
		return writeBackground;
	}

	public Verse setWriteBackground(String writeBackground) {
		this.writeBackground = writeBackground;
		return this;
	}

	public String getPageView() {
		return pageView;
	}

	public Verse setPageView(String pageView) {
		this.pageView = pageView;
		return this;
	}

	public String getRateScore() {
		return rateScore;
	}

	public Verse setRateScore(String rateScore) {
		this.rateScore = rateScore;
		return this;
	}

	public String getImages() {
		return images;
	}

	public Verse setImages(String images) {
		this.images = images;
		return this;
	}

	public int getSort() {
		return sort;
	}

	public Verse setSort(int sort) {
		this.sort = sort;
		return this;
	}

	public long getCreateTime() {
		return createTime;
	}

	public Verse setCreateTime(long createTime) {
		this.createTime = createTime;
		return this;
	}

	public String getDataState() {
		return dataState;
	}

	public Verse setDataState(String dataState) {
		this.dataState = dataState;
		return this;
	}

	public Poet getPoet() {
		return poet;
	}

	public Verse setPoet(Poet poet) {
		this.poet = poet;
		return this;
	}

	public Category getCategory() {
		return category;
	}

	public Verse setCategory(Category category) {
		this.category = category;
		return this;
	}
	
}